package com.cn.coupon.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.sql.Time;
import java.text.DecimalFormat;


@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value = "优惠券消费记录")
public class Detailed {

    @ApiModelProperty(value = "id")
    private Integer id;

    @ApiModelProperty(value = "优惠券id")
    private Integer coupon_id;

    @ApiModelProperty(value = "用户id")
    private Integer user_id;

    @ApiModelProperty(value = "类型")
    private String type;

    @ApiModelProperty(value = "领取时间")
    private Time get_time;

    @ApiModelProperty(value = "类型")
    private int state;

    @ApiModelProperty(value = "使用时间")
    private Time used_time;


    @ApiModelProperty(value = "订单编号")
    private String order_number;
}
